package com.gdkm.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import com.gdkm.po.Student;
import com.gdkm.po.zixun;
@Repository
@Mapper
public interface zixundao {
	 //分页查询
	 @Select("SELECT * FROM zixun")
	 List<zixun> list();
	 @Select("SELECT * FROM zixun where id=#{id}")
	 List<zixun> list1(int id);
}
